package com.haoxin.ai_course.modules.course.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;


/**
 * 课程用户表
 * 
 * @author xingxiangguo
 * @email bugcn@qq.com
 * @date 2022-06-06 09:44:49
 */
@Data
@TableName("ac_course_user")
@EqualsAndHashCode(callSuper = true)
public class AcCourseUser extends Model<AcCourseUser> implements Serializable {
	private static final long serialVersionUID = 1L;
		@TableId
		@ApiModelProperty("关联id，选填")
		private Integer id;
		@ApiModelProperty("课程id")
		private Integer courseId;
		@ApiModelProperty("用户编号")
		private Long userId;
		@ApiModelProperty("课程状态: 0未学习 1 学习中 2 学习完成")
		private Integer status;
		@ApiModelProperty("创建者")
		private Long createBy;
		@ApiModelProperty("更新者")
		private Long updateBy;
		@ApiModelProperty("创建时间")
		private Date createTime;
		@ApiModelProperty("课程名称")
		private String  courseName;
		@ApiModelProperty("课程编号")
		private Integer courseCode;
		@ApiModelProperty("学习时长")
		private Integer studyTime;
		@ApiModelProperty("是否已进入 1是 0否")
		private Integer isEnter;
		@ApiModelProperty("课程统计是否已统计 1是 0否")
		private Integer isStatisticsCourseFinish;
	
}
